<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="__PUBLIC__/Js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Components/ueditor/editor_config.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Components/ueditor/editor_all.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/Components/ueditor/themes/default/ueditor.css">
	<link href="__PUBLIC__/Css/manager.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(document).ready(function(){
            var editor = new baidu.editor.ui.Editor({
                toolbars:[['Spechars','Emotion','InsertImage','Bold','Italic','ForeColor','FontFamily','FontSize' ]],//自定义ueditor工具栏
                initialContent: '<span style="color:#0000cc;">这里输入内容......</span>',
                minFrameHeight: 200,//初始化框架大小
                autoFloatEnabled: false,//工具栏自动浮动-》关闭
                textarea:'content'//form表单将通过该参数获得表单提交的数据
            });
            editor.render("contentArea");
        });
    </script>
</head>
<body>
<h2>回复留言 <a href="__APP__/Message/index" id="backBTN" >[取消返回]</a></h2>
<table id="user_Add_thisBg" cellspacing="0" border="0">
    <tr>
        <th class="tRight" width="94">客户昵称:</th>
        <td>
            {$list['customname']}
        </td>
    </tr>
    <tr>
        <th class="tRight">留言内容:</th>
        <td>
            {$list['content']}
        </td>
    </tr>
    <tr>
        <th class="tRight">留言IP:</th>
        <td>
            {$list['createip']}
        </td>
    </tr>
    <tr>
        <th class="tRight">留言时间:</th>
        <td>
            {$list['createtime']|date="Y-m-d H:i:s",###}
        </td>
    </tr>
</table>
<volist name="replyList" id="reply" key='k'>
    <table id="user_Add_thisBg" style="border-top:{$k}px solid #bfe2f7;" cellspacing="0" border="0">
        <tr>
            <th class="tRight" width="{$k*94}">
                id:
            </th>
            <td>
                {$reply['id']}
            </td>
        </tr>
        <tr>
            <th class="tRight">
                回复内容:
            </th>
            <td>
                {$reply['content']}
            </td>
        </tr>
        <tr>
            <th class="tRight">
                回复时间:
            </th>
            <td>
                {$reply['createtime']|date="Y-m-d H:i:s",###}
            </td>
        </tr>
    </table>
</volist>

<form action="__APP__/Message/reply" method="post">
    <input type="hidden" name="messageid" value="{$list['id']}">
    <table id="user_Add">
        <tr>
            <th>回复内容</th>
            <td>
                <script type="text/plain" id="contentArea" style="width:800px;"></script>
                <!--<textarea rows="6" cols="80" name="content"></textarea>-->
            </td>
        </tr>
        <tr>
			<th>&nbsp;</th>
            <td>
                <input type="submit" value="确认回复">
            </td>
        </tr>
    </table>

</form>
</body>
</html>